import type { AppRouteModule } from '@/router/types';

import { LAYOUT } from '@/router/constant';

const permission: AppRouteModule = {
  path: '/performance-manage',
  name: 'Performance-manage',
  component: LAYOUT,
  meta: {
    orderNo: 10000,
    icon: 'ion:build-outline',
    title: '演出管理',
  },
  children: [
    {
      path: 'edit',
      name: 'Edit',
      meta: {
        title: '演出编辑',
      },
      component: () => import('@/views/performance-manage/edit/index.vue'),
    },
    {
      path: 'ticket',
      name: 'Ticket',
      meta: {
        title: '票务管理',
      },
      component: () => import('@/views/performance-manage/ticket/index.vue'),
    },
  ],
};

export default permission;
